﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RxxAdmin.Model.RootTkey;

public class SysRootEntityTkey<Tkey> where Tkey : IEquatable<Tkey>
{
    /// <summary>
    /// ID
    /// 泛型主键Tkey
    /// </summary>
    [SugarColumn(IsNullable =false,IsPrimaryKey =true, IsIdentity = true)]
    public Tkey? Id { get; set; }

    /// <summary>
    /// 是否种子数据 
    /// </summary>
    public int IsSeed { get; set; } = 1;
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateTime { get; set; } = DateTime.Now;

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime UpdateTime { get; set; } = DateTime.Now;
}
